package com.hornsun.domain.dbo;

import java.util.Date;

public class Favourite {
    private String favouriteGuid; //收藏的guid

    private String openid;//员工的openid

    private Byte type;//类型 （商品/资讯）

    private String collectContentGuid;//收藏内容的guid

    private Date collectTime;//收藏时间

    public String getFavouriteGuid() {
        return favouriteGuid;
    }

    public void setFavouriteGuid(String favouriteGuid) {
        this.favouriteGuid = favouriteGuid == null ? null : favouriteGuid.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getCollectContentGuid() {
        return collectContentGuid;
    }

    public void setCollectContentGuid(String collectContentGuid) {
        this.collectContentGuid = collectContentGuid == null ? null : collectContentGuid.trim();
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", favouriteGuid=").append(favouriteGuid);
        sb.append(", openid=").append(openid);
        sb.append(", type=").append(type);
        sb.append(", collectContentGuid=").append(collectContentGuid);
        sb.append(", collectTime=").append(collectTime);
        sb.append("]");
        return sb.toString();
    }
}